<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    const foo = 'windowFoo'
    const obj = {
        foo: 'objFoo',
        say: function (a, b) {
            console.log(this.foo, a, b)
        }
    }

    const obj2 = {foo: 'obj2Foo'}

    obj.say.apply(obj2, [1, 2]) // obj2Foo 1 2
    obj.say.apply(null, [1, 2]) // undefined 1 2
    obj.say.apply(undefined, [1, 2]) // undefined 1 2
    obj.say.apply(false, [1, 2]) // undefined 1 2
</script>
</body>
</html>
